package org.codeart.decorator.example;

/**
 * 抽象装饰类
 */
public abstract class Decorator implements Component {
    
    protected Component component;

    public Decorator(Component component) {
        this.component = component;
    }

    @Override
    public void operate() {
        component.operate();
    }
}
